package com.patchmanage.back.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.time.LocalDateTime;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
* <p>
    * 
    * </p>
*
* @author huizhao
* @since 2021-07-11
*/
    @ApiModel(value="InventoryPatch对象", description="")
    public class InventoryPatch implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            @ApiModelProperty(value = "主机名")
    private String host;

            @ApiModelProperty(value = "漏洞编号")
    private String cveId;

            @ApiModelProperty(value = "补丁编号")
    private String patchNo;

            @ApiModelProperty(value = "更新时间")
    private LocalDateTime utime;

            @ApiModelProperty(value = "搜索编号")
    private Long queryId;

            @ApiModelProperty(value = "影响的包（要更新的包）")
    private String affectPackages;

        public Integer getId() {
        return id;
        }

            public void setId(Integer id) {
        this.id = id;
        }
        public String getHost() {
        return host;
        }

            public void setHost(String host) {
        this.host = host;
        }
        public String getCveId() {
        return cveId;
        }

            public void setCveId(String cveId) {
        this.cveId = cveId;
        }
        public String getPatchNo() {
        return patchNo;
        }

            public void setPatchNo(String patchNo) {
        this.patchNo = patchNo;
        }
        public LocalDateTime getUtime() {
        return utime;
        }

            public void setUtime(LocalDateTime utime) {
        this.utime = utime;
        }
        public Long getQueryId() {
        return queryId;
        }

            public void setQueryId(Long queryId) {
        this.queryId = queryId;
        }
        public String getAffectPackages() {
        return affectPackages;
        }

            public void setAffectPackages(String affectPackages) {
        this.affectPackages = affectPackages;
        }

    @Override
    public String toString() {
    return "InventoryPatch{" +
            "id=" + id +
            ", host=" + host +
            ", cveId=" + cveId +
            ", patchNo=" + patchNo +
            ", utime=" + utime +
            ", queryId=" + queryId +
            ", affectPackages=" + affectPackages +
    "}";
    }
}
